package com.cn.wanxi.thread;

public class MyRunnableMain {
    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        Thread thread = new Thread(myRunnable,"1");
//        thread.setName("1");

        thread.start();


//        MyRunnable myRunnable1 = new MyRunnable();
        Thread thread1 = new Thread(myRunnable,"2");
//        thread.setName("1");
        thread1.setPriority(10);
        thread1.start();


    }
}
